#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QFileDialog>
#include <QList>
#include "PainelGL.h"

namespace Ui
{
    class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);

    ~Widget();

private:
    Ui::Widget *ui;
    PAINEL_OPEN_GL* gl;
    void filllScenary();
    void update();
private slots:
    void on_nudBlue_valueChanged(double );
    void on_nudGreen_valueChanged(double );
    void on_nudRed_valueChanged(double );
    void on_cmbTextura_currentIndexChanged(QString );
    void on_btnOpenTexture_clicked();
    void on_nduPisoAte_valueChanged(int );
    void on_nduPisoDe_valueChanged(int );
    void on_btnRandomizar_clicked();
    void on_chkLeftHanded_clicked();
    void on_optPoints_clicked();
    void on_nudOrigemZ_valueChanged(double );
    void on_nudOrigemY_valueChanged(double );
    void on_nudOrigemX_valueChanged(double );
    void on_nudDistZ_valueChanged(double );
    void on_nudDistX_valueChanged(double );
    void on_nudEixoZPlanes_valueChanged(int );
    void on_nudEixoXPlanes_valueChanged(int );
    void on_optTexturized_clicked();
    void on_optGoraudShaded_clicked();
    void on_optWireFrame_clicked();
};

#endif // WIDGET_H
